class ListUtils:
    @staticmethod
    def create_list(*args):
        return list(args)

    @staticmethod
    def list_comprehension(source_list, condition):
        return [x for x in source_list if condition(x)]

class TupleUtils:
    @staticmethod
    def create_tuple(*args):
        return tuple(args)

class SetUtils:
    @staticmethod
    def create_set(*args):
        return set(args)

    @staticmethod
    def create_frozenset(*args):
        return frozenset(args)

class DictUtils:
    @staticmethod
    def create_dict(**kwargs):
        return dict(kwargs)

class SetComprehensionUtils:
    @staticmethod
    def set_comprehension(source_set, condition):
        return {x for x in source_set if condition(x)}

# 示例用法
if __name__ == "__main__":
    # 列表示例
    my_list = ListUtils.create_list(1, 2, 3, 4, 5)
    print("创建的列表:", my_list)

    # 元组示例
    my_tuple = TupleUtils.create_tuple(1, 2, 3)
    print("创建的元组:", my_tuple)

    # 集合示例
    my_set = SetUtils.create_set(1, 2, 3, 4, 5)
    print("创建的集合:", my_set)

    # 字典示例
    my_dict = DictUtils.create_dict(name="Kimi", age=30)
    print("创建的字典:", my_dict)

    # 集合推导式示例
    filtered_set = SetComprehensionUtils.set_comprehension(my_set, lambda x: x % 2 == 0)
    print("集合推导式过滤出的偶数:", filtered_set)